<template>
	<view>
		<button @click="egtNam">我是a组件</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			egtNam(){
				uni.$emit('emitNam',10)
			}
		}
	}
</script>

<style>

</style>
